import server from './app';
const { resolve } = require('path')
const r = path => resolve(__dirname, path)
const fs = require('fs');

server(ctx => {
    ctx.response.type = 'html';
    ctx.response.body = fs.createReadStream(r('./template/template.html')) ;
},3006);

